package edu.xlh.travel.dao;


import edu.xlh.travel.pojo.Validate;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ValidateDao{
    int insert(Validate validate);

    Validate selectByToken(String token);

    List<Validate> selectByEmail(String email);
}
